package com.ruoyi.logistic.service.impl;

import com.ruoyi.logistic.domain.NetworkCustomerSettleStatus;
import com.ruoyi.logistic.mapper.NetworkCustomerSettleStatusMapper;
import com.ruoyi.logistic.service.NetworkCustomerSettleStatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NetworkCustomerSettleStatusServiceImpl implements NetworkCustomerSettleStatusService {
    @Autowired
    private NetworkCustomerSettleStatusMapper networkCustomerSettleStatusMapper;
    @Override
    public List<NetworkCustomerSettleStatus> selectAll() {
        return networkCustomerSettleStatusMapper.selectAll();
    }

    @Override
    public NetworkCustomerSettleStatus findById(Integer id) {
        return networkCustomerSettleStatusMapper.findById(id);
    }

    @Override
    public Boolean insert(NetworkCustomerSettleStatus networkCustomerSettleStatus) {
        return networkCustomerSettleStatusMapper.insert(networkCustomerSettleStatus);
    }

    @Override
    public Boolean update(NetworkCustomerSettleStatus networkCustomerSettleStatus) {
        return networkCustomerSettleStatusMapper.update(networkCustomerSettleStatus);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return networkCustomerSettleStatusMapper.deleteById(id);
    }
}
